﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/Edit.master" AutoEventWireup="true"
    CodeBehind="FSEdit.aspx.cs" Inherits="MaluJg.web.FarmerShare.FSEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script type="text/javascript" src="../Scripts/jquery.js"></script>
    <script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>

    <script>
        function check() {
            var valid = true;
           
            return valid;
        }
        function refreshParent() {
            try {
                window.opener.document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
                //window.opener.location.href = window.opener.location.href;
            }
            catch (e) {
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ToolBarContentPlaceHolder" runat="server">
    <table border="0" cellspacing="0" cellpadding="2">
        <tr>
            <td class="ToolMenuEdit">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="lbtnSave" OnClick="lbtnSave_Click">
                    <span><img src="../Images/Icon/Object/File-add.gif" /></span><span>添加</span></asp:LinkButton>
                </div>
            </td>
            <td class="Fg">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
            <td class="ToolMenuEdit">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)"
                    onclick="window.close();">
                    <span>
                        <img src="../Images/Icon/Object/File-delete.gif" alt="关闭" /></span><span>关闭</span>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FieldContentPlaceHolder" runat="server">
<table id="commandTable" border="0" cellspacing="0" cellpadding="0" class="FormTable tablefix"
        width="100%">
        <tr>
            <td class="FieldName" >
                <span>&nbsp;户名：</span>
            </td>
            <td class="FieldInput" >
                <asp:TextBox ID="tbName" Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                &nbsp; <span class="Alter">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                    runat="server" ControlToValidate="tbName">必填</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;村：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbVillage" Width="180px"   runat="server" CssClass="InputSmall"></asp:TextBox>
                &nbsp; <span class="Alter">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                    runat="server" ControlToValidate="tbVillage">必填</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;年份：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbYear"  onclick="WdatePicker({dateFmt:'yyyy'})" runat="server" CssClass="InputSmall"></asp:TextBox>
            <span class="Alter">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                    runat="server" ControlToValidate="tbYear">必填</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;村民小组：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbAdd" Width="180px"   runat="server" CssClass="InputSmall"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;入股数：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbAmount"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+$" ControlToValidate="tbAmount" ></asp:RegularExpressionValidator>

            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;每股金额：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbJinePer"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbJinePer" ></asp:RegularExpressionValidator>

            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;入股金额：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbJinE" Width="180px"  runat="server" CssClass="InputSmall"></asp:TextBox>
      <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbJinE" ></asp:RegularExpressionValidator>

            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;红利率：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbHongli"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>%
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbHongli" ></asp:RegularExpressionValidator>

            </td>
        </tr>
         <tr>
            <td class="FieldName">
                <span>&nbsp;应得股息：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbYingDe"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbYingDe" ></asp:RegularExpressionValidator>

            </td>
        </tr>
         <tr>
            <td class="FieldName">
                <span>&nbsp;扣除股息税：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbFax"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbFax" ></asp:RegularExpressionValidator>

            </td>
        </tr>
         <tr>
            <td class="FieldName">
                <span>&nbsp;实得股息：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbRealGet"  Width="180px" runat="server" CssClass="InputSmall"></asp:TextBox>
                  <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
      ErrorMessage="非数字" ValidationExpression="^\d+(\.\d+)?$" ControlToValidate="tbRealGet" ></asp:RegularExpressionValidator>

            </td>
        </tr>
        <tr>
            <td class="FieldName">
                <span>&nbsp;备注：</span>
            </td>
            <td class="FieldInput">
                <asp:TextBox ID="tbRemark" Rows="4" TextMode="MultiLine" runat="server" CssClass="InputLarge"></asp:TextBox>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="DescriptionContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TabberJSContentPlaceHolder" runat="server">
</asp:Content>
